﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ext.Net;

namespace Sio.Mdm.Web.Controls
{
    public class Button : Ext.Net.Button
    {
        #region Properties
        private bool _confirmAction = false;
        public bool ConfirmAction
        {
            get
            {
                return _confirmAction;
            }
            set
            {
                _confirmAction = value;
            }
        }
        private string _confirmText = "Nadaljujem?";
        public string ConfirmText
        {
            get
            {
                return _confirmText;
            }
            set
            {
                _confirmText = value;
            }
        }
        #endregion

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
        }

        protected override void Render(System.Web.UI.HtmlTextWriter writer)
        {
            base.Render(writer);
        }

        public override void RenderControl(System.Web.UI.HtmlTextWriter writer)
        {
            base.RenderControl(writer);
        }
    }
}
